import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';

export const craftProcessCreate = (data) => postRequest('/craft/process/create', data);

export const craftProcessUpdate = (data) => putRequest('/craft/process/update', data);

export const craftProcessDelete = (params) => deleteRequest('/craft/process/delete', params);

export const craftProcessGet = (params) => getRequest('/craft/process/get', params);

export const craftProcessPage = (params) => getRequest('/craft/process/page', params);

export const craftProcessExportExcel = (params) => getRequest('/craft/process/export-excel', params);

